package com.usian.apis.admin.controller;

import com.usian.model.admin.dtos.SensitiveDto;
import com.usian.model.admin.pojos.AdChannel;
import com.usian.model.admin.pojos.AdSensitive;
import com.usian.model.common.dtos.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(value = "敏感词管理",tags ="sensitive",description = "敏感词管理API")
public interface AdSensitiveControllerApi {

    //根据名称分页查询
    @ApiOperation("敏感词分页管理")
    ResponseResult findByNameAndPage(SensitiveDto dto);

    //添加敏感词
    ResponseResult save(AdSensitive sensitive);

    //修改敏感词
    ResponseResult update(AdSensitive sensitive);

    //删除敏感词
    ResponseResult deleteById(Integer id);
}
